package com.maket.scxx.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.TreeEntity;

/**
 * 物料与BOM对象 wl_materials_and_mes_bom
 * 
 * @author ruoyi
 * @date 2024-07-01
 */
public class WlMaterialsAndMesBom extends TreeEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long wId;

    /** 物料编码 */
    @Excel(name = "物料编码")
    private String wlCode;

    /** 物料名称 */
    @Excel(name = "物料名称")
    private String wlName;

    /** 物料等级 */
    @Excel(name = "物料等级")
    private String wlLevel;

    /** BOM编码 */
    @Excel(name = "BOM编码")
    private String bomCode;

    /** 父级物料编码 */
    @Excel(name = "父级物料编码")
    private String fatherCode;

    /** 用量 */
    @Excel(name = "用量")
    private Long many;

    /** 是否删除 */
    @Excel(name = "是否删除")
    private Long isDelete;

    public void setwId(Long wId) 
    {
        this.wId = wId;
    }

    public Long getwId() 
    {
        return wId;
    }
    public void setWlCode(String wlCode) 
    {
        this.wlCode = wlCode;
    }

    public String getWlCode() 
    {
        return wlCode;
    }
    public void setWlName(String wlName) 
    {
        this.wlName = wlName;
    }

    public String getWlName() 
    {
        return wlName;
    }
    public void setWlLevel(String wlLevel) 
    {
        this.wlLevel = wlLevel;
    }

    public String getWlLevel() 
    {
        return wlLevel;
    }
    public void setBomCode(String bomCode) 
    {
        this.bomCode = bomCode;
    }

    public String getBomCode() 
    {
        return bomCode;
    }
    public void setFatherCode(String fatherCode) 
    {
        this.fatherCode = fatherCode;
    }

    public String getFatherCode() 
    {
        return fatherCode;
    }
    public void setMany(Long many) 
    {
        this.many = many;
    }

    public Long getMany() 
    {
        return many;
    }
    public void setIsDelete(Long isDelete) 
    {
        this.isDelete = isDelete;
    }

    public Long getIsDelete() 
    {
        return isDelete;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("wId", getwId())
            .append("wlCode", getWlCode())
            .append("wlName", getWlName())
            .append("wlLevel", getWlLevel())
            .append("bomCode", getBomCode())
            .append("fatherCode", getFatherCode())
            .append("many", getMany())
            .append("isDelete", getIsDelete())
            .toString();
    }
}
